<template>
  <div class="box">
    <h1 class="dog">选择你喜欢的狗子</h1>
    <div class="footer_wrap">
      <!-- <a href="#/china">中华田园犬</a>
      <a href="#/hutch">哈奇士</a>
      <a href="#/sheph">牧羊犬</a>
      <a href="#/autum">秋天犬</a> -->
      <router-link to="/china">中华田园犬</router-link>
      <router-link to="/hutch">哈奇士</router-link>
      <router-link to="/sheph">牧羊犬</router-link>
      <router-link to="/autum">秋天犬</router-link>
    </div>
    <div>
      <router-view></router-view>
    </div>
  </div>
</template>

<script>
export default {}
</script>

<style>
.box{

  width: 400px;
  height: 800px;
  /* background-color: navajowhite; */
  text-align: center;
  margin: 0 auto;
}
.dog {
  
  
  color: pink;
}
.footer_wrap {
  position: fixed;
  display: flex;
  width: 400px;
  text-align: center;
  background-color: green;
  color: #ccc;
}
.footer_wrap a {
  flex: 1;
  text-decoration: none;
  padding: 20px 0;
  line-height: 20px;
  color: #ccc;
  border: 1px solid black;
}
.footer_wrap a:hover {
  background-color: #555;
}
.top {
  padding-top: 62px;
}
</style>
